package com.njlime.cms.repository.app;

import com.njlime.cms.entities.LiveUp;
import com.njlime.core.helper.PageBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-10-10.
 */
public interface AppLiveUpDao extends JpaRepository<LiveUp, Integer>,JpaSpecificationExecutor<LiveUp> {
    int userUpCount(int commentId, int userId);
    PageBean list(PageBean pageBean, LiveUp info);
    int del(int commentId,int userId);
}
